package com.shengde.jinwawaforleader.network.protocolbean;

import java.util.List;

/**
 * Created by Chason on 2016/12/22.
 */

public class ProHappyListInfo {

    /**
     * stuInfo : [{"date":"2016-12-22","reason":"标记请假","gender":"1","cname":"小小班","name":"鑫鑫","logo":"20161219100152728148.jpg","tel":"13877777777","time":1482393501000,"type":2,"guardian":"大刘老师"},{"date":"2016-12-22","reason":"标记请假","gender":"1","cname":"小小班","name":"冯榕榕","logo":"","tel":"15617003858","time":1482393504000,"guardian":"老冯","type":2}]
     * code : 0
     * info : [{"date":"2016-12-22","reason":"啦啦啦","gender":"1","cname":"办公室","name":"大刘老师","logo":"20161205154619251164.jpg","tel":"18888888888","time":1482292558000,"guardian":"大刘老师","type":1}]
     */

    private int code;
    /**
     * date : 2016-12-22
     * reason : 标记请假
     * gender : 1
     * cname : 小小班
     * name : 鑫鑫
     * logo : 20161219100152728148.jpg
     * tel : 13877777777
     * time : 1482393501000
     * type : 2
     * guardian : 大刘老师
     */

    private List<StuInfoEntity> stuInfo;
    /**
     * date : 2016-12-22
     * reason : 啦啦啦
     * gender : 1
     * cname : 办公室
     * name : 大刘老师
     * logo : 20161205154619251164.jpg
     * tel : 18888888888
     * time : 1482292558000
     * guardian : 大刘老师
     * type : 1
     */

    private List<InfoEntity> info;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<StuInfoEntity> getStuInfo() {
        return stuInfo;
    }

    public void setStuInfo(List<StuInfoEntity> stuInfo) {
        this.stuInfo = stuInfo;
    }

    public List<InfoEntity> getInfo() {
        return info;
    }

    public void setInfo(List<InfoEntity> info) {
        this.info = info;
    }

    public static class StuInfoEntity {
        private String date;
        private String reason;
        private String gender;
        private String cname;
        private String name;
        private String logo;
        private String tel;
        private long time;
        private int type;
        private String guardian;

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getReason() {
            return reason;
        }

        public void setReason(String reason) {
            this.reason = reason;
        }

        public String getGender() {
            return gender;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }

        public String getCname() {
            return cname;
        }

        public void setCname(String cname) {
            this.cname = cname;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public String getTel() {
            return tel;
        }

        public void setTel(String tel) {
            this.tel = tel;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getGuardian() {
            return guardian;
        }

        public void setGuardian(String guardian) {
            this.guardian = guardian;
        }
    }

    public static class InfoEntity {
        private String date;
        private String reason;
        private String gender;
        private String cname;
        private String name;
        private String logo;
        private String tel;
        private long time;
        private String guardian;
        private int type;

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getReason() {
            return reason;
        }

        public void setReason(String reason) {
            this.reason = reason;
        }

        public String getGender() {
            return gender;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }

        public String getCname() {
            return cname;
        }

        public void setCname(String cname) {
            this.cname = cname;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public String getTel() {
            return tel;
        }

        public void setTel(String tel) {
            this.tel = tel;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public String getGuardian() {
            return guardian;
        }

        public void setGuardian(String guardian) {
            this.guardian = guardian;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
}
